Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: Profile Document Fields Vanishing - Problem Solved! (kind of)
~Umberto Nongeroson 6.Dec.03 01:45 AM a Web browser
Notes Client 6.0.3 All Platforms


The Conflict Action is not relevant here because the new, blank profile is not a replica of the original profile. There's not a replication conflict -- there are just two profiles with different uNIDs but the same identifying information (profile name and user name). Which one gets used may vary from one replica of the database to another, but each replica will have a "preferred" one.

To correct the problem after it occurs, you can search for duplicate profiles in the current database and delete whichever one doesn't look right to you. Use the GetProfileDocumentCollection method.

Prevention is trickier. I suppose you could add code that executes on open, scans the GetProfileDocumentCollection for the profiles which you know should already be there, and kicks them out with a message saying "please replicate the database first" if they are not present. Of course this only works if you know what all profiles are supposed to be present, so if each user has a profile it doesn't work so hot.

Another approach that might solve a bunch of other problems also; have the database Postopen code check whether this is a local replica; if so, check for an environment variable (specific to this application) that gives the pathname of the database on local. If the environment variable is missing, or if the path is different, prompt the user whether they want to (a) exit the database now or (b) replicate with the server now (which will not take long if they have already done the full replication). If they choose (b), use the Replicate method to replicate the local replica with a known good replica. If they break out of the replication (which you can detect with a Terminate event), kick them out of the database.




Profile Document Fields Vanishing -... (~Maria Umjipyon... 5.Dec.03)
. . RE: Profile Document Fields Vanishi... (~Hank Quetamarn... 8.Dec.03)
. . RE: Profile Document Fields Vanishi... (~Bill Frokimari... 6.Dec.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS